import React,{useReducer} from "react";
import Button from "./Button";
import ShowArea from "./ShowArea";
import {Color} from "./Color";




function Example() {

    return (
        <div>

            <Color>
                <ShowArea />
                <Button title="yellow"/>
                <Button title="red"/>
                <Button title="green"/>

            </Color>

        </div>
    )
}

export default Example;